package com.yanqu.road.logic.bussiness.config;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.config.children.ChildNameData;
import com.yanqu.road.entity.config.children.ChildOccupation;
import com.yanqu.road.entity.config.children.ChildTalentInfo;
import com.yanqu.road.entity.config.children.ChildTrainInfo;

import java.util.List;
import java.util.Map;

public class ChildBussiness {
    public static Map<Integer, ChildTalentInfo> getChildTalentInfoMap() {
        return DaoHelper.getChildDaoImpl().getChildTalentInfoMap();
    }

    public static void getChildOccupationMap(Map<Integer, ChildOccupation> childOccupationMap, Map<Integer, List<ChildOccupation>> childOccupationTypeMap){
        DaoHelper.getChildDaoImpl().getChildOccupationMap(childOccupationMap, childOccupationTypeMap);
    }

    public static Map<Integer, ChildTrainInfo> getChildTrainInfoMap() {
        return DaoHelper.getChildDaoImpl().getChildTrainInfoMap();
    }

    public static List<ChildNameData> getChildNameDataList() {
        return DaoHelper.getChildDaoImpl().getChildNameDataList();
    }
}
